package com.ruoyi.web.publish.usefunds.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资金用途说明对象 usefunds_explain
 *
 * @author houxuzhong
 * @date 2021-08-25
 */
public class Usefunds extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 资金使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资金使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usefundsTime;

    /** 本次使用资金金额 */
    @Excel(name = "本次使用资金金额")
    private BigDecimal usefundsNumber;

    /** 资金支付方式 */
    @Excel(name = "资金支付方式")
    private Integer usefundsType;

    /** 资金去向单号 */
    @Excel(name = "资金去向单号")
    private String usefundsOrder;

    /** 资金用途说明 */
    @Excel(name = "资金用途说明")
    private String usefundsMessage;

    /** 资金用途证明文件名 */
    @Excel(name = "资金用途证明文件名")
    private String usefundsFilename;

    /** 资金用途证明文件路径 */
    @Excel(name = "资金用途证明文件路径")
    private String usefundsFilepath;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createById;

    /** 更新者ID */
    @Excel(name = "更新者ID")
    private Long updateById;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUsefundsTime(Date usefundsTime)
    {
        this.usefundsTime = usefundsTime;
    }

    public Date getUsefundsTime()
    {
        return usefundsTime;
    }
    public void setUsefundsNumber(BigDecimal usefundsNumber)
    {
        this.usefundsNumber = usefundsNumber;
    }

    public BigDecimal getUsefundsNumber()
    {
        return usefundsNumber;
    }
    public void setUsefundsType(Integer usefundsType)
    {
        this.usefundsType = usefundsType;
    }

    public Integer getUsefundsType()
    {
        return usefundsType;
    }
    public void setUsefundsOrder(String usefundsOrder)
    {
        this.usefundsOrder = usefundsOrder;
    }

    public String getUsefundsOrder()
    {
        return usefundsOrder;
    }
    public void setUsefundsMessage(String usefundsMessage)
    {
        this.usefundsMessage = usefundsMessage;
    }

    public String getUsefundsMessage()
    {
        return usefundsMessage;
    }
    public void setUsefundsFilename(String usefundsFilename)
    {
        this.usefundsFilename = usefundsFilename;
    }

    public String getUsefundsFilename()
    {
        return usefundsFilename;
    }
    public void setUsefundsFilepath(String usefundsFilepath)
    {
        this.usefundsFilepath = usefundsFilepath;
    }

    public String getUsefundsFilepath()
    {
        return usefundsFilepath;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCreateById(Long createById)
    {
        this.createById = createById;
    }

    public Long getCreateById()
    {
        return createById;
    }
    public void setUpdateById(Long updateById)
    {
        this.updateById = updateById;
    }

    public Long getUpdateById()
    {
        return updateById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("usefundsTime", getUsefundsTime())
            .append("usefundsNumber", getUsefundsNumber())
            .append("usefundsType", getUsefundsType())
            .append("usefundsOrder", getUsefundsOrder())
            .append("usefundsMessage", getUsefundsMessage())
            .append("usefundsFilename", getUsefundsFilename())
            .append("usefundsFilepath", getUsefundsFilepath())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateById", getUpdateById())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
